package schoolWork.work03.text4;

public class Test {
    public static void main(String[] args) {
        MyRectangle rect = new MyRectangle(1.0,2.0);
        System.out.println(rect.toString());

        IShape tri = new MyTriangle(3.0,4.0,5.0);
        System.out.println(tri.toString());
    }
}
